package com.yanqu.road.server.cmd.marriage.crossworld;

import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.command.Command;
import com.yanqu.road.server.manger.marriage.MarriageMgr;
import com.yanqu.road.server.protocol.Protocol;
import io.netty.channel.ChannelHandlerContext;

@Cmd(code = Protocol.S_CROSS_WORLD_MARRIAGE_NOTIFY_UPLOAD, desc = "通知跨服同步数据")
public class CrossWorldMarriageUploadNotifyCmd implements Command {

    @Override
    public void execute(ChannelHandlerContext ctx, YanQuMessage yanQuMessage) throws Exception {

        MarriageMgr.uploadCrossWorldMarriageInfo();

    }
}
